package com.shycloud.mido.music.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shycloud.mido.music.domain.MisMusicError;
import com.shycloud.mido.music.dto.MusicErrorSearchDTO;
import com.shycloud.mido.music.vo.MusicErrorVO;
import org.apache.ibatis.annotations.Param;

/**
 * 曲目错误模块
 *
 * @author nianhua.jiang
 */
public interface MisMusicErrorMapper extends BaseMapper<MisMusicError> {

	/**
	 * 获取曲目报错信息
	 *
	 * @param page
	 * @param memberId
	 * @return com.baomidou.mybatisplus.core.metadata.IPage<com.shycloud.mido.music.vo.MusicErrorVO>
	 * @author nianhua.jiang
	 * @date 2020/6/29 16:14
	 */
	IPage<MusicErrorVO> getMusicError(@Param("page") Page page, @Param("memberId") String memberId);

	IPage<MusicErrorVO> page(@Param("search") MusicErrorSearchDTO search);
}